<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<div  v-if="ww" >hfdhu</div>
			<button @click="ww=!ww">菜菜</button>
		</div>
		<script>
			var xm=new Vue({
				el:"#app",
				data:{
					ww:true
				}
			})
		</script>
	</body>
</html>